<template>
  <div class="count">
    <h1>Count</h1>
    <h2>当前的num的值是:{{$store.state.num}}</h2>
    <h2>当前的doubleNum是:{{$store.getters.doubleNum}}</h2>
  </div>
</template>

<script>
export default {
    name:"Count",
    mounted(){
        console.log(this);
    }
}
</script>

<style>
.count{
    background:pink;
}
</style>